﻿#ifndef ROLESTATECARETAKER_H
#define ROLESTATECARETAKER_H

#include <memory>
#include "RoleStateMemento.h"

using namespace std;

class RoleStateCaretaker
{
private:
    shared_ptr<RoleStateMemento> m_memento;
public:
    RoleStateCaretaker();
    const shared_ptr<RoleStateMemento> &getMemento() const;
    void setMemento(const shared_ptr<RoleStateMemento> &memento);
};

#endif // ROLESTATECARETAKER_H
